package com.ygqh.baby.mapper;

import com.ygqh.baby.model.wdt.qyb.WdtSyncLogistics;
import com.ygqh.baby.po.WdtQybLogistics;
import com.ygqh.baby.po.WdtQybLogisticsExample;
import com.ygqh.baby.ao.QueryInfo;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface WdtQybLogisticsMapper {
	int countByExample(WdtQybLogisticsExample example);

	int deleteByExample(WdtQybLogisticsExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(WdtQybLogistics record);

	int insertSelective(WdtQybLogistics record);

	List<WdtQybLogistics> selectByExample(WdtQybLogisticsExample example);

	WdtQybLogistics selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") WdtQybLogistics record, @Param("example") WdtQybLogisticsExample example);

	int updateByExample(@Param("record") WdtQybLogistics record, @Param("example") WdtQybLogisticsExample example);

	int updateByPrimaryKeySelective(WdtQybLogistics record);

	int updateByPrimaryKey(WdtQybLogistics record);

	int countSuper(@Param("q") String q);

	List<WdtQybLogistics> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	int addBatch(@Param("list") List<WdtSyncLogistics> list);

	List<WdtSyncLogistics> selectKidsListAfterId(int id);

}
